package com.kust.smarthome.web.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.kust.smarthome.web.dto.EvaluateDto;
import com.kust.smarthome.web.model.Evaluate;
import com.kust.smarthome.web.vo.EvaluateVo;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author iAuzre
 * @since 2021-07-12
 */
public interface IEvaluateService extends IService<Evaluate> {

    int insertEvaluate(Integer userId, EvaluateVo evaluateVo);

    List<EvaluateDto> getEvaluateByCommodityId(Integer commodityId);
}
